package com.autorun.server.dto;

import com.autorun.server.entity.User;
import lombok.Data;

/**
 * 登录响应DTO
 * 
 * @author autorun
 * @version 1.0.0
 */
@Data
public class LoginResponse {

    /**
     * JWT Token
     */
    private String token;

    /**
     * 用户信息
     */
    private User user;

    public LoginResponse(String token, User user) {
        this.token = token;
        this.user = user;
    }
}